﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AbpVueDemo.SystemBase.DictionaryTableManager.Dto
{
	[AutoMapTo(typeof(DictionaryTable))]
	public class DictionaryTableCreateDto: EntityDto<int>
    {
		/// <summary>
		/// 字典key
		/// </summary>
		[Required]
		[DatabaseGenerated(DatabaseGeneratedOption.None)]
		[StringLength(100)]
		public string dt_key
		{
			get; set;
		}

		/// <summary>
		/// 字典类别key
		/// </summary>
		[Required]
		[StringLength(100)]
		public string dt_type_key
		{
			get; set;
		}
		/// <summary>
		/// 字典名称
		/// </summary>
		[Required]
		[StringLength(100)]
		public string dt_name
		{
			get; set;
		}
		[Required]
		/// <summary>
		/// 字典状态 1:有效  2:无效
		/// </summary>
		public int dt_status
		{
			get; set;
		}
		/// <summary>
		/// 排序字段
		/// </summary>
		[Required]
		public decimal dt_orderby
		{
			get; set;
		}
		
	
	}
}
